package com.carpedil.auth.service.impl;

import com.carpedil.auth.entity.UserEntity;
import com.carpedil.auth.mapper.UserMapper;
import com.carpedil.auth.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/** @author Administrator */
@Service
public class UserServiceImpl implements UserService {
  @Autowired UserMapper userMapper;

  @Override
  public UserEntity findUser(String username, String password) {
    return userMapper.findUser(username, password);
  }
}
